package com.yonyou.brigade.third_parties.zteitc.constants;

import java.util.HashMap;
import java.util.Map;

public class ZteitcConstants {
    public static final String USER_NAME = "YY";
    public static final String KEY = "YY@1207";

    public static final String METHOD_SYNC_EMPLOYEE = "zas.syncemployee";
    public static final String METHOD_SYNC_DEPT = "zas.syncdept";
    public static final String METHOD_CREATE_BILL = "errand.createbillwitherrandpolicy";
    public static final String METHOD_FIND_AIRPLANE = "domair.findorder";
    public static final String METHOD_FIND_HOTEL = "hotel.findorder";
    public static final String METHOD_FIND_TRAIN = "train.findorder";
    public static final String METHOD_CLOSE_BILL = "errand.closebill";
    public static final String METHOD_SSO = "login.sso";
    public static final String METHOD_APPROVE="errand.syncapproverule";
    public static final String METHOD_FIND_BILL="settle.findbill";
    public static final String METHOD_FIND_BILL_ORDER="settle.findbillorder";

    public static final String AIRPLANESEAT_PLANE_01 = "plane_01";
    public static final String AIRPLANESEAT_PLANE_02 = "plane_02";
    public static final String AIRPLANESEAT_PLANE_03 = "plane_03";

    public static final String AIRPLANESEAT_PLANE_01_LANG = "头等舱";
    public static final String AIRPLANESEAT_PLANE_02_LANG = "商务舱";
    public static final String AIRPLANESEAT_PLANE_03_LANG = "经济舱";

    public static final String TRAINSEAT_TRAIN_01 = "train_01";
    public static final String TRAINSEAT_TRAIN_02 = "train_02";
    public static final String TRAINSEAT_TRAIN_03 = "train_03";
    public static final String TRAINSEAT_TRAIN_04 = "train_04";
    public static final String TRAINSEAT_TRAIN_05 = "train_05";
    public static final String TRAINSEAT_TRAIN_06 = "train_06";
    public static final String TRAINSEAT_TRAIN_07 = "train_07";
    public static final String TRAINSEAT_TRAIN_08 = "train_08";

    public static final String TRAINSEAT_TRAIN_01_LANG = "商务座";
    public static final String TRAINSEAT_TRAIN_02_LANG = "一等座";
    public static final String TRAINSEAT_TRAIN_03_LANG = "二等座";
    public static final String TRAINSEAT_TRAIN_04_LANG = "软卧";
    public static final String TRAINSEAT_TRAIN_05_LANG = "硬卧";
    public static final String TRAINSEAT_TRAIN_06_LANG = "软座";
    public static final String TRAINSEAT_TRAIN_07_LANG = "硬座";
    public static final String TRAINSEAT_TRAIN_08_LANG = "无座";

    public static final String PREPAY = "0";//企业支付
    public static final String IPAY = "1";//个人支付

    public static final String FLIGHT_MONGO_ORDER_TABLENAME = "zteitc_flight_orders";
    public static final String HOTEL_MONGO_ORDER_TABLENAME = "zteitc_hotel_orders";
    public static final String TRAIN_MONGO_ORDER_TABLENAME = "zteitc_train_orders";

    public static Map<String, String> seatMap = new HashMap<String, String>();

    static {
        seatMap.put(AIRPLANESEAT_PLANE_01_LANG, AIRPLANESEAT_PLANE_01);
        seatMap.put(AIRPLANESEAT_PLANE_02_LANG, AIRPLANESEAT_PLANE_02);
        seatMap.put(AIRPLANESEAT_PLANE_03_LANG, AIRPLANESEAT_PLANE_03);
        seatMap.put(TRAINSEAT_TRAIN_01_LANG, TRAINSEAT_TRAIN_01);
        seatMap.put(TRAINSEAT_TRAIN_02_LANG, TRAINSEAT_TRAIN_02);
        seatMap.put(TRAINSEAT_TRAIN_03_LANG, TRAINSEAT_TRAIN_03);
        seatMap.put(TRAINSEAT_TRAIN_04_LANG, TRAINSEAT_TRAIN_04);
        seatMap.put(TRAINSEAT_TRAIN_05_LANG, TRAINSEAT_TRAIN_05);
        seatMap.put(TRAINSEAT_TRAIN_06_LANG, TRAINSEAT_TRAIN_06);
        seatMap.put(TRAINSEAT_TRAIN_07_LANG, TRAINSEAT_TRAIN_07);
        seatMap.put(TRAINSEAT_TRAIN_08_LANG, TRAINSEAT_TRAIN_08);
     /*   BASE_URL = ThirdUtil.getInstance().getProperty("zte_base_url");
        SSO_URL = ThirdUtil.getInstance().getProperty("zte_sso_url");*/
    }


    public static String getSeatPkByName(String seatName) {
        return seatMap.get(seatName);
    }
}
